package com.testmanager.testmananger.shuiyou.common.Constant;

public class RedisFileName {

    public static final String BASE = "redis_base";
    public static final String CWBB = "redis_cwbb";

    private static final String BASE_FORMAT ="#&NSR_HISTORY_DATA_BASE_20190000004_%s";
    private static final String CWBB_FORMAT ="#&NSR_HISTORY_DATA_CWBB_20190000004_%s";

    public static final String BASE_BASE_DATA_NAME = "#&NSR_HISTORY_DATA_BASE_20190000004_304";
    public static final String BASE_CWBB_DATA_NAME = "#&NSR_HISTORY_DATA_CWBB_20190000004_304";

    public static String getBaseName(String nsrid){
        return String.format(BASE_FORMAT,nsrid);
    }

    public static String getCwbbName(String nsrid){
        return String.format(CWBB_FORMAT,nsrid);
    }


}
